import { ButtonInterFace } from '../../IButton/src/ButtonInterFace'
export interface ButtonOptionsInterFace extends ButtonInterFace {
    buttonFun: string;
    template?: string;
}

export interface ButtonObjectInferface{
    [index:string]:ButtonOptionsInterFace
}
export interface DialogDataInterface{
  width:number|string; // 弹窗宽度
  show:boolean; // 弹窗是否展示
  title:string; // 弹窗标题
  loading?:boolean;
  getContainer?:HTMLElement; // 该弹框挂在到什么位置 () => document.body
  buttonObject?:ButtonObjectInferface;
  options?:any,
  defaultSubText?:string;
  defaultCancelText?:string;
  onSubmit?:() => any
  onCancel?:() => any
  cancel?:() => any
}
